<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 王希辰
  Date: 2021/10/12
  Time: 9:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:if test="${c.classHour<=64}">
    课时比较少
</c:if>
<c:if test="${c.classHour>64}">
    课时比较多
</c:if>
${c.classHour>50?'课时比较少':'课时比较多'}
<hr>
<c:choose>
    <c:when test="${c.classHour>64&&c.classHour<=100}">
        课时较多
    </c:when>
    <c:when test="${c.classHour<=64&&c.classHour>0}">
        课时较少
    </c:when>
    <c:otherwise>
        输错了
    </c:otherwise>
</c:choose>
<hr>
<c:forEach var="i" begin="1" end="10" step="1">
    ${i}---${11-i}<br>
</c:forEach>
</body>
</html>
